package com.flaskpy.web.eternity.core.exception.enums;

import com.flaskpy.web.eternity.core.annotation.ExceptionGroup;
import com.flaskpy.web.eternity.core.exception.abs.IExceptionEnum;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

/**
 * @Author flaskpy-Administrator
 * @Date 2021/6/8 23:19
 * @Version 1.0
 */
@RequiredArgsConstructor
@Getter
@ExceptionGroup(value = "A",desc = "用户错误级别")
public  enum  BaseExceptionEnum implements IExceptionEnum {
    PARAM_ERROR("0400","参数错误"),
    NOT_FOUND_ERROR("0404","不存在这个资源"),
    METHOD_NOT_SUPPORT("0405","不支持此类http方法"),
    UNDEFINED("0400","服务器距绝本次操作");
    private final String code;
    private final String msg;

}
